/**
 * jims
 */
package com.jims.master.modules.base.consevaluate.web.entity;

import com.jims.master.common.persistence.DataEntity;
import com.jims.master.modules.sys.entity.User;
import org.hibernate.validator.constraints.Length;

/**
 * Entity
 * @author 陈涛
 * @version 2017-05-17
 */
public class ConsEvaluate extends DataEntity<ConsEvaluate> {
	
	private static final long serialVersionUID = 1L;
	private String doctorServeId;    //产品ID
	private String discussType;		// 评价类型：01、患者评价 02:医师评价
	private String discuss;		// 评论内容
	private String name;		// 评论人姓名
	private String user;		// 评论人id
	private String level;		// 评价级别
	private String orderType;		// 订单类型
    private String evaluateType;    //评价类型内容
	private String inquiryAskId;   //问诊表ID
	private String orderId;		// 订单表id
	private String defendantName;		// 被评论人姓名
	private String defendantId;		// 被评论人id

	public String getHeadPath() {
		return headPath;
	}

	public void setHeadPath(String headPath) {
		this.headPath = headPath;
	}

	private String headPath;


	public String getInquiryAskId() {
		return inquiryAskId;
	}

	public void setInquiryAskId(String inquiryAskId) {
		this.inquiryAskId = inquiryAskId;
	}

	public ConsEvaluate() {
		super();
	}

	public ConsEvaluate(String id){
		super(id);
	}

	public String getDoctorServeId() {
		return doctorServeId;
	}

	public void setDoctorServeId(String doctorServeId) {
		this.doctorServeId = doctorServeId;
	}

	@Length(min=0, max=2, message="评价类型：01、患者评价 02:医师评价长度必须介于 0 和 2 之间")
	public String getDiscussType() {
		return discussType;
	}

	public void setDiscussType(String discussType) {
		this.discussType = discussType;
	}
	
	@Length(min=0, max=500, message="评论内容长度必须介于 0 和 500 之间")
	public String getDiscuss() {
		return discuss;
	}

	public void setDiscuss(String discuss) {
		this.discuss = discuss;
	}
	
	@Length(min=0, max=40, message="评论人姓名长度必须介于 0 和 40 之间")
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getUser() {
		return user;
	}

	public void setUser(String user) {
		this.user = user;
	}

	@Length(min=0, max=10, message="评价级别长度必须介于 0 和 10 之间")
	public String getLevel() {
		return level;
	}

	public void setLevel(String level) {
		this.level = level;
	}
	
	@Length(min=0, max=2, message="订单类型长度必须介于 0 和 2 之间")
	public String getOrderType() {
		return orderType;
	}

	public void setOrderType(String orderType) {
		this.orderType = orderType;
	}
	
	@Length(min=0, max=64, message="订单表id长度必须介于 0 和 64 之间")
	public String getOrderId() {
		return orderId;
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}
	
	@Length(min=0, max=20, message="被评论人姓名长度必须介于 0 和 20 之间")
	public String getDefendantName() {
		return defendantName;
	}

	public void setDefendantName(String defendantName) {
		this.defendantName = defendantName;
	}
	
	@Length(min=0, max=64, message="被评论人id长度必须介于 0 和 64 之间")
	public String getDefendantId() {
		return defendantId;
	}

	public void setDefendantId(String defendantId) {
		this.defendantId = defendantId;
	}

    public String getEvaluateType() {
        return evaluateType;
    }

    public void setEvaluateType(String evaluateType) {
        this.evaluateType = evaluateType;
    }
}